<?php
/**
 * Created by PhpStorm.
 * Author: Shadow
 * Date: 2022/5/28
 * Time: 9:00 上午
 * description: front.php
 */

use think\facade\Route;

Route::get('add',function (){
    return view('add');
});

// 通过后端调用后端 PHP调用PHP
//Route::get('list',"Index/list");

// 通过VUE+前端框架调用PHP
Route::get('vue-list',function () {
    return view('list');
});


